import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import 'amfe-flexible'

import { 
  Button,
  Tabbar,
  TabbarItem,
  NavBar,
  Tab,
  Tabs,
  Icon,
  Swipe,
  SwipeItem,
  Form,
  Field,
  CellGroup,
  Popup,
  CountDown,
  Loading,
  Uploader,
  Cell,
  SwipeCell,
  TimePicker
  } from 'vant';

import 'vant/lib/index.css';

const app = createApp(App);

app.use(Button);
app.use(Tabbar);
app.use(TabbarItem);
app.use(NavBar);
app.use(Tab);
app.use(Tabs);
app.use(Icon);
app.use(Swipe);
app.use(SwipeItem);
app.use(Popup);
app.use(CountDown);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Loading);
app.use(Uploader);
app.use(Cell);
app.use(SwipeCell);
app.use(TimePicker);

app.use(router).mount('#app')
